/*
 * @Description: Test01
 * @Author: rendc
 * @Date: 2024-09-14 09:30:05
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-14 14:52:05
 */
// 员工测试类
public class Test01 {
  // main
  public static void main(String[] args) {
    Employee employee = new Employee("001", "员工1");
    employee.doWork();
    Manager manager = new Manager("002", "员工经理1", 1000.0);
    manager.doWork();
    // manager.doWork("摸了一个鱼");
    String str = "manager:" + manager;
    System.out.println(str);
    System.out.println("manager.toString():" + manager.toString());
  }
}